extends Control


# Called when the node enters the scene tree for the first time.
var alp:float = 1
func _ready() -> void:
	pass # Replace with function body.


# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
	for i in get_children():
		if i.is_class("Sprite2D"):
			i.modulate.a = alp
	if Input.is_action_just_pressed("发射") and GameData.cWorld=="选关":
		GameData.cWorld="游戏中"
		get_tree().change_scene_to_file("res://Code/Ui/少女祈祷中.tscn")
	pass
